<?php
	$link = mysql_connect('mysql12.freehostia.com', 'davmor88_aleydei', 'Admin123');
    mysql_select_db('davmor88_aleydei');
    mysql_query("SET NAMES utf8");
    mysql_query("SET CHARACTER SET utf8");
	
	$qry = "Update invitados set desconfirm = " . $_POST["val"] . " Where code = '" . $_POST["code"] . "'";
    mysql_query($qry);
?>